package xxy.com.yangproject.model;

import androidx.room.Dao;
import androidx.room.Query;

import java.util.List;

@Dao
public interface MyDao {
    @Query("select * from databasemodel where my_car like :carName")
    public DatabaseModel[] querySmothing(String carName);

    @Query("select my_car and my_motorbike from databasemodel")
    public List<DatabaseModel> queryListOfDatabaseModel();
}
